/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sahd.broker.server;

import java.io.Serializable;

/**
 *
 * @author Romms
 */
public class Service implements Serializable {

    public Service(int serviceProtocol,String serviceName, String serverIpAddress) {
        this.serviceName = serviceName;
        this.serviceProtocol = serviceProtocol;
        this.serverIpAddress = serverIpAddress;
    }

    public int getServiceCode() {
        return serviceProtocol;
    }

    public void setServiceCode(int serviceCode) {
        this.serviceProtocol = serviceCode;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
    private String serviceName;
    private int serviceProtocol;
    private String serverIpAddress;
    
    public String getServerIpAddress() {
        return serverIpAddress;
    }

    public void setServerIpAddress(String serverIpAddres) {
        this.serverIpAddress = serverIpAddres;
    }
    

    public Service(String serviceName, int serviceCode){

        this.serviceName=serviceName;
        this.serviceProtocol=serviceCode;

    }

}
